﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HotelManager
{
    public struct PurchaseInfo
    {
        public Person Customer { get; set; }
        public Product Product { get; set; }
        public DateTime TimeOfPurchase { get; set; }
        public decimal Price { get; set; }

        public PurchaseInfo(Person customer, Product product, DateTime timeOfPurchase, decimal price) : this()
        {
            this.Customer = customer;
            this.Product = product;
            this.TimeOfPurchase = timeOfPurchase;
            this.Price = price;
        }
    }
}
